package com.yelink.metrics.core.constant.enums;

import com.yelink.metrics.core.constant.ModelType;
import lombok.Getter;

/**
 * 内置的模型类型
 * @author idea
 */
public enum InnerModelType implements ModelType {
    /**
     *
     */
    CUSTOM( "customTarget", "自定义指标组对象"),
    SALE_ORDER( "saleOrderTarget", "销售订单"),
    PRODUCT_ORDER( "productOrderTarget", "生产订单"),
    WORK_ORDER( "workOrderTarget", "生产工单"),
    MATERIAL( "materialTarget", "物料"),
    USER( "userTarget", "人员"),
    LINE( "lineTarget", "制造单元"),
    DEVICE( "deviceTarget", "设备"),
    TEAM( "baseTeam", "班组"),
    PROCEDURE( "procedureTarget", "工序"),
    AREA( "areaTarget", "工厂"),
    EXCEPTION( "exceptionTarget", "异常"),
    QUALITY( "qualityTarget", "质量"),
    MAINTAIN( "maintainTarget", "维修"),
    TOP( "topTarget", "排行"),



    ;
    @Getter
    public final String name;
    @Getter
    public final String code;

    InnerModelType(String code, String name) {
        this.code = code;
        this.name = name;
    }
}
